﻿<script src="../../Scripts/Common/SearchComboModel.js"></script>
<script type="text/javascript">
    $(function () {
        //    alert(Bom.settings.TaskId)
        $("input[name*=Field]").combobox({
            valueField: 'value',
            textField: 'text',
            data: SearchCombo[searchAction],
            panelHeight: 'auto',
            editable: false,
            width: 120

        });

        $("input[name*=Operator]").combobox({
            valueField: 'value',
            textField: 'text',
            data: SearchCombo.operater,
            panelHeight: 'auto',
            editable: false,
            width: 80

        });


        $("input[name*=Logic]").combobox({
            valueField: 'value',
            textField: 'text',
            data: SearchCombo.logic,
            panelHeight: 'auto',
            editable: false,
            width: 60

        });

    });



</script>
<div id="divUl" style="width: 100%; overflow: auto">

    <form id="highSearchForm" name="highSearchForm">
        <%For index = 0 To 9
        %>
        <div style="margin-top: 2px" id="searchDiv<%=index %>">
            <input id="Logic<%=index %>" name="Logic<%=index %>" value="and" />
            <select id="Left<%=index %>" name="Left<%=index %>">
                <option value=""></option>
                <option value="(">(</option>
            </select>
            <input id="Field<%=index %>" name="Field<%=index %>" />
            <input id="Operator<%=index %>" name="Operator<%=index %>" />
            <input id="Value<%=index %>" name="Value<%=index %>" />
            <select id="Right<%=index %>" name="Right<%=index %>">
                <option value=""></option>
                <option value=")">)</option>
            </select>

        </div>

        <%
        Next
        %>
    </form>
</div>
